Tomcat add memory

nano /opt/apache-tomcat-7.0.55/bin/catalina.sh

export CATALINA_OPTS="$CATALINA_OPTS -Denv=prod -Xms256m -Xmx2048m -XX:PermSize=512m"